package net;

public class ChildRemoval extends GameStateChange<core.GameObject>
{
	public ChildRemoval() {
		this(null, null, null);
	}

	public ChildRemoval(core.GameObject parent, String childName, core.GameObject child) {
		super(parent, childName, child);
	}

	public ChildAddition getInverse() {
		return new ChildAddition(getSubject(), getPropertyName(), getArgument());
	}

	protected String getMethodName() {
		return "remove" + util.Util.capitalize(getPropertyName());
	}
}